﻿using System.Collections.Generic;
using System.Web;

namespace axCommerce.Helper.Storage
{
	public class CacheHelper
	{
		public enum Keys
		{
			EditUser,
			GeoItems,
			AllUsers
		}

		private static object Get(Keys cacheKey)
		{
			return HttpRuntime.Cache[cacheKey.ToString()];
		}

		private static void Set(Keys cacheKey, object cacheValue)
		{
			HttpRuntime.Cache[cacheKey.ToString()] = cacheValue;
		}
	}
}
